<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title>
    <style type="text/css">
        .bos {
            width: 500px;
            height: 500px;
            margin: 0 auto;
        }

        .box {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .box>ul {
            position: relative;
            display: inline-block;
            height: 28px;
            line-height: 28px;
            background: #1976d2;
            border-radius: 3px;
        }

        .box>ul>li {
            color: rgba(180, 211, 241, 0.86);
            font-weight: lighter;
            padding: 0 10px;
            text-decoration: none;
            display: inline-block;
        }
    </style>
</head>

<body>
    <div class="bos">
        <div class="box">
            <ul>
                <li>hhee</li>
                <li>212121</li>
            </ul>
        </div>
    </div>
    <script>
        var a = 11 % 3 && 1 || 2
        console.log(a)
    </script>
</body>

</html>
